package com.ruoyi.system.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ruoyi.common.core.domain.entity.Section;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author linxz
 * @since 2024-12-25
 */
@Mapper
public interface SectionMapper extends BaseMapper<Section> {

     List<Section> selectListByPc(@Param("deviceType") String deviceType,@Param("locate") String locate);
     List<Section> selectList();

     List<Section> select(@Param("deviceType")String deviceType,@Param("locate")String locate);

     List<Section> isMulti(@Param("sectionName")String sectionName);

     int insertEntity(Section section);

     int updateEntity(Section section);

     int deleteById(@Param("id") int id);


}
